var PGAndroidString = function() {}; 
PGAndroidString.prototype.getstring = function(name,successCallback, failureCallback) {
		return PhoneGap.exec(successCallback,
		 			         failureCallback,
		                     'PGAndroidString',
		 					 'getResourceString',
		 					 [name]);	
};

PhoneGap.addConstructor(function () {
  PhoneGap.addPlugin('pgandroidstring', new PGAndroidString()); 
  PluginManager.addService('PGAndroidString', 'org.thecodebakers.phonegap.plugins.androidstring.PGAndroidString');
});